package org.yunmai.util;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Author 李孝辉
 * @Date 2025/6/21 11:36
 * @email 1626285873@qq.com
 * @Phone 18724505266
 * @内容
 */
@Configuration
public class SecretBeanUtil {

    @Value("${jwt.secret.privateKey}")
    private static String privateKey;
    @Value("${jwt.secret.publicKey}")
    private static String publicKey;

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }
}
